<template>
    <app-layout :memu-tree="memuData">
        <transition name="router-fade" mode="out-in">
            <router-view> </router-view>
        </transition>
    </app-layout>
</template>
<script>
import AppLayout from '../../components/AppLayout';

export default {
    components: {
        AppLayout,
    },
    data() {
        return {
            memuData: [
                {
                    path: '/operation',
                    text: '活动管理',
                    icon: 'ios-cart',
                    subMemu: [
                        { path: '/operation', text: '运营总览' },
                        { path: '/operation/activity', text: '运营配置' },
                        { path: '/operation/coupon', text: '优惠卷' },
                        { path: '/operation/banner', text: 'Banner配置' },
                        { path: '/operation/theme', text: '推荐主题' },
                        { path: '/operation/vip', text: '会员配置' },
                    ],
                },
                {
                    path: '/analytics',
                    text: '客户服务',
                    icon: 'ios-people',
                    subMemu: [
                        { path: '/operation/faq', text: '客述管理' },
                        { path: '/operation/care', text: '用户关怀' },
                    ],
                },
            ],
        };
    },
};
</script>

<style scoped lang="less">

</style>
